package com.dao.order;
import com.model.domain.order.GetOrderRepairRecordInfoDO;
import com.model.domain.order.GetOrderRepairRecordOverviewDO;
import com.model.pojo.order.OrderRepairRecordInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderRepairRecordInfoMapper {
    int deleteByPrimaryKey(@Param("orderRepairRecordInfoId") Long orderRepairRecordInfoId);

    int insert(OrderRepairRecordInfo record);

    int insertSelective(OrderRepairRecordInfo record);

    OrderRepairRecordInfo selectByPrimaryKey(@Param("orderRepairRecordInfoId") Long orderRepairRecordInfoId, @Param("isDelete") Byte isDelete);

    int updateByPrimaryKeySelective(OrderRepairRecordInfo record);

    int updateByPrimaryKey(OrderRepairRecordInfo record);

    List<OrderRepairRecordInfo> selectList(GetOrderRepairRecordInfoDO getorderRepairRecordInfoDO);

    void insertListSelective(List<OrderRepairRecordInfo> orderRepairRecordInfoList);

    void updateListSelective(List<OrderRepairRecordInfo> orderRepairRecordInfoList);

    int has(@Param("orderRepairRecordInfoId") Long orderRepairRecordInfoId, @Param("isDelete") Byte isDelete);

    List<GetOrderRepairRecordOverviewDO> selectByCarIdCount(@Param("carId")Long carId,@Param("time")String time);
}